<!-- Client validation -->
<script type="text/javascript">
	function validateLogin() {
		var form = document.forms['loginForm'];
		var loginid = form.customerId.value;
		var password = form.password.value;
		// Check here --- return true/false
	}
</script>

<!-- Login Form goes here -->
<div class="page-content" style="margin-left: 30px;">
	<div class="page-header position-relative">
		<h1>Log In Form</h1>
	</div>

	<div class="row-fluid">
		<div class="span12">
			<form class="form-horizontal" method="post" action="logInCustomer" name="loginForm">
				<div class="control-group">
					<label class="control-label" for="customerId">Customer Id</label>

					<div class="controls">
						<input id="customerId" placeholder="Customer Id" type="text"
							name="custId">
					</div>
				</div>

				<div class="control-group">
					<label class="control-label" for="customerPassword">Password</label>

					<div class="controls">
						<input id="customerPassword" placeholder="Password"
							type="password" name="password">
					</div>
				</div>

				<br />

				<div class="form-actions">
					<input type="submit" value="Log In">
				</div>
			</form>
		</div>
	</div>
</div>